package org.xbzheng.mapper.test1;

import org.apache.ibatis.annotations.Param;
import org.xbzheng.bean.Role;

import java.util.List;

/**
 * Created by xbzheng on 2018/8/21.
 */
public interface RoleMapper {
    Role selectRoleById(@Param("id") Long id);

    List<Role> selectRolesByUserId(@Param("id") Long id);
}
